<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>新增客户</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="<%=basePath %>admin/lib/layui-v2.5.5/css/layui.css" media="all" />

  <link rel="stylesheet" href="<%=basePath %>admin/css/public.css" media="all" />
  <style>
    form>div{
      margin-top: 20px;
    }
  </style>
</head>
<body class="childrenBody">
<%--    上左6  --%>
    <form class="layui-form layui-form-pane" action="Javascript:void(0)" id="cusForm">
      <div class="layui-col-md6 layui-col-space8" style="height: auto">
        <div class="grid-demo grid-demo-bg1">
          <div class="layui-form-item  layui-row" >
<%--  添加的顺序为先是联系人，客户，额外信息   客户表--%>
            <label class="layui-form-label">客户名称</label>
            <div class="layui-input-inline">
              <input type="text" name="uname" id="cusName" lay-verify="required" placeholder="请输入客户名称" autocomplete="true" class="layui-input" style="width: 300px">
            </div>
          </div>

          <div class="layui-form-item " style="width: 80%">
<%--            客户表--%>
            <label class="layui-form-label">助记名称</label>
            <div class="layui-input-inline">
              <input type="text" name="helpName" id="helpName" placeholder="助记名称"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form layui-row ">
            <span>所属行业：</span>
<%--            客户表--%>
            <select class="layui-input-inline" name="bel_industry">
              <option value="">选择行业</option>
              <option value="电子商务">电子商务</option>
              <option value="军工制造">军工制造</option>
              <option value="手工纺织">手工纺织</option>
            </select>
          </div>
          <div class="layui-form layui-row ">
            <span>客户类型：</span>
<%--            客户表--%>
            <input type="radio" name="cusType" value="企业客户" title="企业客户">
            <input type="radio" name="cusType" value="个人客户" title="个人客户" checked>
          </div>
          <div class="layui-form layui-row ">
            <span>客户状态：</span>
<%--            客户状态--%>
            <select id="custatus" class="layui-input-inline" name="custatus">
              <option value="">全部</option>
              <option value="了解产品">了解产品</option>
              <option value="正在跟进">正在跟进</option>
              <option value="正在试用">正在试用</option>
              <option value="准备购买">准备购买</option>
              <option value="准备付款">准备付款</option>
              <option value="已经购买">已经购买</option>
              <option value="准备搁置">准备搁置</option>
            </select>
          </div>
          <div class="layui-form layui-row ">
            <span>客户星级：</span>
<%--       客户表     客户星级--%>
            <select id="custar" class="layui-input-inline" name="custar">
              <option value="">客户星级</option>
              <option value="1">1星</option>
              <option value="2">2星</option>
              <option value="3">3星</option>
              <option value="4">4星</option>
              <option value="5">5星</option>
            </select>
          </div>
          <div class="layui-form layui-row">
            <span>客户来源：</span>
<%--      客户表      客户来源--%>
            <select id="source" class="layui-input-inline" name="source">
              <option value="">客户来源</option>
              <option value="1">电话销售</option>
              <option value="2">主动来电</option>
              <option value="3">客户介绍</option>
              <option value="4">朋友介绍</option>
              <option value="5">独立开发</option>
              <option value="6">网络搜索</option>
              <option value="7">广告杂志</option>
              <option value="8">展会促销</option>
              <option value="9">其他途径</option>
            </select>
          </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">归属人员</label>
              <div class="layui-input-inline">
<%--                客户表 联系人id--%>
                <input type="text" name="ownPeople" id="ownPeople" placeholder="归属人员"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
            <div>详细信息</div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
<%--              额外表 客户所在地区--%>
              <label class="layui-form-label">所在地区</label>
              <div class="layui-input-inline">
                <input type="text" name="cusarea" id="cusarea" placeholder="所在地区"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">详细地址</label>
              <div class="layui-input-inline">
<%--                额外表--%>
                <input type="text" name="cusaddress" id="cusaddress" placeholder="详细地址"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
            <div class="layui-form layui-row ">
              <span>企业规模：</span>
<%--              额外表--%>
              <select class="layui-input-inline" name="scale">
                <option value="">选择规模</option>
                <option value="10-20人">10-20人</option>
                <option value="100-200人">100-200人</option>
                <option value="1000-2000人">1000-2000人</option>
              </select>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
                <select class="layui-input-inline" name="parent" id="parent">
                    <option value="">上级客户</option>
                </select>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">备注信息</label>
              <div class="layui-input-inline">
<%--                额外表--%>
                <input type="text" name="tip_infor" id="tipinformation" placeholder="请输入备注信息"  value="" autocomplete="true" class="layui-input"  style="width: 300px" maxlength="300">
              </div>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">跟进时间</label>
              <div class="layui-input-inline">
<%--                跟进记录--%>
                <input type="text" name="followTime" id="followTime" placeholder="跟进时间"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">跟进内容</label>
              <div class="layui-input-inline">
                <input type="text" name="fol_content" id="fol_content" placeholder="folcontent"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">跟进人员</label>
              <div class="layui-input-inline">
                <input type="text" name="followPeople" id="followPeople" placeholder="跟进人员"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
            <div class="layui-form-item " style="width: 80%;margin-top: 30px">
              <label class="layui-form-label">任务提示</label>
              <div class="layui-input-inline">
                <input type="text" name="tasktip" id="tasktip" placeholder="任务提示"  value="" autocomplete="true" class="layui-input"  style="width: 300px">
              </div>
            </div>
        </div>
      </div>
<%-- 上右6    --%>
      <div class="layui-col-md6 layui-col-space8">
        <div class="grid-demo grid-demo-bg2">
          <div class="layui-form-item">
            <label class="layui-form-label">联系人名称：</label>
            <div class="layui-input-inline">
              <input type="text" name="concat" id="concat" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form layui-row ">
            <span>客户性别：</span>
            <input type="radio" name="personal" value="0" title="未知">
            <input type="radio" name="personal" value="1" title="先生">
            <input type="radio" name="personal" value="2" title="女士" checked>
          </div>
          <div class="layui-form layui-row ">
            <span>角色：</span>
            <select id="role" class="layui-input-inline" name="role">
              <option value="">选择角色</option>
              <option value="普通人">普通人</option>
              <option value="决策人">决策人</option>
              <option value="分项决策人">分项决策人</option>
              <option value="商务决策">商务决策</option>
              <option value="财务决策">财务决策</option>
              <option value="使用人">使用人</option>
              <option value="意见影响人">意见影响人</option>
            </select>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">职务部门</label>
            <div class="layui-input-inline">
              <input type="text" name="dept_job" id="dept" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">手机号码</label>
            <div class="layui-input-inline">
              <input type="text" name="phone" id="phone" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">固定电话</label>
            <div class="layui-input-inline">
              <input type="text" name="fixedPhone" id="fixedPhone" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">传真号码</label>
            <div class="layui-input-inline">
              <input type="text" name="transmit" id="transmit" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">电子邮箱</label>
            <div class="layui-input-inline">
              <input type="text" name="email" id="email" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">生日</label>
            <div class="layui-input-inline">
              <input type="text" name="birthday" id="birthday" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">qq号码</label>
            <div class="layui-input-inline">
              <input type="text" name="qq" id="qq" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">所在地区</label>
            <div class="layui-input-inline">
              <input type="text" name="area" id="area" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">详细地址</label>
            <div class="layui-input-inline">
              <input type="text" name="address" id="address" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px">
            </div>
          </div>
          <div class="layui-form-item  layui-row" >
            <label class="layui-form-label">备注信息</label>
            <div class="layui-input-inline">
              <input type="text" name="tip" id="tip" lay-verify="required" placeholder="" autocomplete="true" class="layui-input"  style="width: 300px;height: 200px">
            </div>
          </div>
        </div>
      </div>
      <div>
        <div class="layui-form-item" style="text-align:center">
          <button class="layui-btn layui-btn-fluid" id="commit"lay-submit lay-filter="addUser"  style="width: 100px">新增用户</button>
          <button class="layui-btn layui-btn-fluid" id="storage" lay-filter="sub_storage" style="width: 100px">提交后保存</button>
          <button class="layui-btn layui-btn-fluid" id="reset" lay-filter="reset" style="width: 100px">重置</button>
        </div>
      </div>
  </form>
<script type="text/javascript" src="<%=basePath %>admin/lib/layui-v2.5.5/layui.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/lib/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/pagejs/system/user/addUser.js"></script>
</body>
</html>